package com.yb.module.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

import com.yb.framework.core.base.BaseMapper;
import com.yb.framework.core.base.BaseServiceImpl;
import com.yb.module.system.domain.SysLogLogin;
import com.yb.module.system.mapper.SysLogLoginMapper;
import com.yb.module.system.service.SysLogLoginService;

@Service
public class SysLogLoginServiceImpl extends BaseServiceImpl<SysLogLogin> implements SysLogLoginService {
	
	@Autowired
	private SysLogLoginMapper sysLogLoginMapper;
	
	@Override
	protected BaseMapper<SysLogLogin> getMapper() {
		return sysLogLoginMapper;
	}
	
	@Async
	@Override
	public void insertLogAsync(SysLogLogin sysLogLogin) {
		// TODO Auto-generated method stub
		sysLogLoginMapper.insert(sysLogLogin);
	}
}